﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.BackStage.ConsumeChats
{
    /// <summary>
    /// ConsumeServer
    /// </summary>
    [Table("ConsumeServer")]
    public class ConsumeServer
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Note { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public String UserId { get; set; }

        /// <summary>
        /// 商铺Id
        /// </summary>
        public String BusinessId { get; set; }

        /// <summary>
        /// 平台编号
        /// </summary>
        public Int32 ClassId { get; set; } = 0;

        /// <summary>
        /// 客服头像
        /// </summary>
        public String HeadImg { get; set; }


        /// <summary>
        /// 客服工号
        /// </summary>
        public String ServiceNo { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public Boolean State { get; set; } = true;
    }
}